"""
The MIT License (MIT)
Copyright © 2021 Walkline Wang (https://walkline.wang)
Gitee: https://gitee.com/walkline/micropython-new-fontlib
"""
class FontLibHeaderException(Exception):
	pass

class FontLibException(Exception):
	pass

class FontLibHeader(object):
	LENGTH = ...
	SCAN_MODE_HORIZONTAL = BYTE_ORDER_LSB = ...
	SCAN_MODE_VERTICAL = BYTE_ORDER_MSB = ...
	SCAN_MODE = ...
	BYTE_ORDER = ...

	def __init__(self, header_data):
		...


class FontLib(object):
	FORMAT = ...
	ASCII_START = ...
	ASCII_END = ...
	GB2312_START = ...
	GB2312_END = ...

	def __init__(self, font_filename):
		...

	def get_characters(self, characters: str):
		...

	@property
	def scan_mode(self):
		...

	@property
	def byte_order(self):
		...

	@property
	def format(self):
		...

	@property
	def data_size(self):
		...

	@property
	def file_size(self):
		...
	
	@property
	def font_height(self):
		...

	@property
	def characters(self):
		...

	def info(self):
		...
